package com.hhs.storage.bean;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author hhs
 * @since 2023-01-09
 */
@Data
public class BasePermission implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String name;

    private String val;

    private String flag;

    private Integer sortId;

    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    
}
